package spzx.mapper;

import com.atguigu.spzx.model.dto.order.OrderStatisticsDto;
import com.atguigu.spzx.model.entity.order.OrderStatistics;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderInfoMapper {

    OrderStatistics getOrderStatisticsByPreDate(String preDate);

    void addOrderStatistics(OrderStatistics orderStatistics);

    Integer checkPreDate(String preDate);

    List<OrderStatistics> selectOrderStatistics(OrderStatisticsDto orderStatisticsDto);
}
